<%@page import="br.com.linkcom.sined.modulo.sistema.controller.process.bean.RecomendarFilmeBean"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="n" uri="neo"%>
<%@ taglib prefix="t" uri="template"%>
<%@ taglib prefix="s" uri="sined"%>

<t:tela titulo="Recomendar Filme">
	<t:janelaFiltro>
		<t:tabelaFiltro showSubmit="false">
			<n:panelGrid columns="2" columnStyles="width:1px">
				<t:propertyConfig renderAs="double">	
					<t:property name="usuario" itens="${listaUsuario}"style="width:150px" />
					<t:property name="notaMinima" />
				</t:propertyConfig>
				<n:submit action="recomendar">Recomendar</n:submit>			
			</n:panelGrid>												
		</t:tabelaFiltro>
	</t:janelaFiltro>
	
	<c:choose>
		<c:when test="${!empty filtro.listaBean}">
			<n:dataGrid itens="${filtro.listaBean}" varStatus="status1" var="bean">
				<n:bean name="bean" valueType="<%=RecomendarFilmeBean.class%>" propertyIndex="${index}">
					<t:property name="filme" label="Filme" bodyStyle="width:50%" />																			
				</n:bean>		
			</n:dataGrid>
		</c:when>
		<c:otherwise>
		</c:otherwise>
	</c:choose>
</t:tela>